package com.ruoyi.order.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 核销记录对象 verification_record
 *
 * @author ruoyi
 * @date 2025-07-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class VerificationRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long verifyId;

    /**
     * 订单ID
     */
    @Excel(name = "订单ID")
    private Long orderId;



    /**
     * 二维码存储路径
     */
    @Excel(name = "二维码存储路径")
    private String qrCodePath;

    /**
     * 核销码
     */
    @Excel(name = "核销码")
    private String verifyCode;

    /**
     * 核销时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "核销时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date verifyTime;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;

    /**
     * 商家ID
     */
    @Excel(name = "商家ID")
    private Long merchantId;

    /**
     * 核销码过期时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "核销码过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date verifyExpireTime;


    /**
     * 下单时间
     */
    @Excel(name = "下单时间")
    private Date createTime;

    /**
     * 状态
     */
    @Excel(name = "0-待核销 1-已核销 2-已过期")
    private   Integer  status;


    /**
     * 更新时间
     */
    @Excel(name = "更新时间")
    private Date updateTime;
}
